The Indexmenu Plugin powers the left navigation expandable TOC. The hidden page sidebar is used by the Indexmenu Plugin to provide the left navigation menu. DO NOT REMOVE OR CHANGE WITHOUT KNOWING WHAT YOU ARE DOING. Thank you. - You can open it and see the code used at the top of the page
NOTE: Most Editors will not need to know more than this. Other than Fix new page sorting Because of the way Indexmenu sorts new pages without sub-pages need some special treatment.
We are trying the following Indexmenu configuration & settings:
Page Sort order set with {{indexmenu_n>[order number] }}
In Configuration > Sidebar https://www.dokuwiki.org/config:sidebar
In Configuration > Indexmenu plugin»indexmenu»page_index enter :opencpn:sidebar
The Indexmenu Plugin uses the hidden opencpn:sidebar page to provide the Left Navigation Menu.
At top of sidebar page {{indexmenu>:opencpn#1|js#drktheme navbar msort nsort}}
We have also turned off the builtin default right side TOC by setting maxtoc=0 in the configuration The builtin TOC is controlled with the maxtoc, mintoc and notoc settings. See https://www.dokuwiki.org/toc We can turn TOC off completely under config settings or by page using notoc command.
We have also plugin»indexmenu»only_admins warning (unchecked) because @Manager users were not able to add and it disappeared immediately when edited. “Allow indexmenu syntax only to admins. Note that a page edited by a no-admin user will lost every contained indexmenu tree.” We want Manager group to be able to edit and add to sort pages. Currently they will be able to edit/add index TOC as well.
Right now we have made “blank” pages to force all Pages to show as “Namespaces” with pages below, just so they all sort properly. Now we would like to know if we can “HIDE” or skip all pages named “BLANK” easily. Is there a way to skip “blank” pages? plugin»indexmenu»skip_file Pages id to skip. - Is there a way to set this to skip pages named “blank”
Of course a simple option for force sorting both namespaces and pages would be mch easier! NOTE: I have found some snippets of php code that we might be able to insert into the IndexMenu php code to force it to interleave Namespaces and Pages.
IndexMenu Plugin has been added to the wiki now. From the Edit menu we can select the “Insert the IndexMenus Tree” icon and pick the namespace and the depth of the tree etc.
Now I would like to get this indexmenu into a left column.
http://zigi.cc.fmph.uniba.sk/dokuwiki/wiki/indexmenu How can I activate the indexmenu as sidebar for every page?
Indexmenu itself does not provide sidebars, you need a template that supports it. You can find them in templates page. Look for a template that uses a page as sidebar, so that indexmenu loading will be faster thanks to dokuwiki cache. Mine is the arctic template. — Samuele Tognini 2007-02-06 11:58
# my page "sidebar" has only this entry:
{{indexmenu>.|js#kde.png navbar}}
# in
conf/local.php
# I added the entry
$conf['template'] = 'sidebar';
I use the kde-theme; it looks really great!
One more question? Where does the sidebar page go? It depends on template. For example, the arctic template lets admin to choose any wanted dokuwiki page as sidebar. undefined method syntax_plugin_indexmenu::getConf()
About our default template
https://www.dokuwiki.org/template:dokuwiki
Most templates use a normal wiki page called “sidebar” for the sidebar. Some make this configurable, so you can choose the name of the page. (E.g. since Adora Belle there is the sidebar config option which some templates support.) And others have several sidebars, each of which will have their own page, sometimes even depending on namespaces.
In the most likely event that your sidebar is a page called “sidebar”, you just need to create it. Go to http://your-wiki.com/doku.php?id=sidebar, click “Create this page”, edit the page, save, and you're done. That's it, your saved changes will appear in your sidebar. How can I have an automatic navigation in my sidebar?
Best install one of the plugins tagged with 'menu' or plugins tagged with 'navigation'.
In many cases you will also need to add the macro when using a plugin which changes the sidebar's appearance per page or namespace. My sidebar doesn't update properly or highlights the wrong parts
If your sidebar contains dynamic elements (e.g. highlighting of the current page or opening of a sub list, like a lot of navigation plugins do), then you need to add the macro to your page to prevent caching of the sidebar.
https://tgp-architects.com/dokuwiki/
===
Do I really need the overlay plugin? https://forum.dokuwiki.org/thread/13902 https://www.dokuwiki.org/plugin:overlay